<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layuiAdmin 控制台主页一</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="{$Think.const.admin_tpl}/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="{$Think.const.admin_tpl}/style/admin.css" media="all">
</head>
<body>
<div class="layui-fluid">
  <div class="layui-row layui-col-space15">
    {if session('my_self')['id'] == 1}
    <div class="layui-col-md8">
      <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
          <div class="layui-card">
            <div class="layui-card-header">快捷方式</div>
            <div class="layui-card-body">

              <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                <div carousel-item>
                  <ul class="layui-row layui-col-space10">
                    <li class="layui-col-xs3">
                      <a lay-href="/admin/logs/index/">
                        <i class="layui-icon layui-icon-log"></i>
                        <cite>操作日志</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/admin/icontypes/types">
                        <i class="layui-icon layui-icon-star-fill"></i>
                        <cite>标记设置管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/admin/rules/index">
                        <i class="layui-icon layui-icon-auz"></i>
                        <cite>角色权限</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="/admin/users/index">
                        <i class="layui-icon layui-icon-username"></i>
                        <cite>用户管理</cite>
                      </a>
                    </li>
                  </ul>
                  <!--
                <ul class="layui-row layui-col-space10">
                  <li class="layui-col-xs3">
                    <a lay-href="set/user/info.html">
                      <i class="layui-icon layui-icon-set"></i>
                      <cite>设置</cite>
                    </a>
                  </li>
                </ul>
                -->
                </div>
              </div>

            </div>
          </div>
        </div>
        <div class="layui-col-md6">
          <div class="layui-card">
            <div class="layui-card-header">数据概览</div>
            <div class="layui-card-body">
              <div class="layui-carousel layadmin-carousel layadmin-backlog">
                <div carousel-item>
                  <ul class="layui-row layui-col-space10">
                    <li class="layui-col-xs6">
                    <a href="javascript:void(0);" class="layadmin-backlog-body">
                      <h3>总标记数</h3>
                      <p><cite style="color: #FF5722;">{$marks_total??0}</cite></p>
                    </a>
                    </li>
                    <li class="layui-col-xs6">
                      <a href="javascript:void(0);" class="layadmin-backlog-body">
                        <h3>标记类型数量</h3>
                        <p><cite style="color: #FF5722;">{$it_total??0}</cite></p>
                      </a>
                    </li>
                    <li class="layui-col-xs6">
                      <a href="javascript:void(0);" class="layadmin-backlog-body">
                        <h3>机构数量</h3>
                        <p><cite style="color: #FF5722;">{$users_total??0}</cite></p>
                      </a>
                    </li>
                </ul>
                  <ul class="layui-row layui-col-space10" id="counter-id">
                    <li class="layui-col-xs6">
                      <a href="javascript:void(0);" class="layadmin-backlog-body">
                        <h3>点数量</h3>
                        <p><cite style="color: #FF5722;">{$point_total??0}</cite></p> </a>
                    </li>
                    <li class="layui-col-xs6">
                      <a href="javascript:void(0);" class="layadmin-backlog-body">
                        <h3>线数量</h3>
                        <p><cite style="color: #FF5722;">{$line_total??0}</cite></p>
                      </a>
                    </li>
                    <li class="layui-col-xs6">
                      <a href="javascript:void(0);" class="layadmin-backlog-body">
                        <h3>区域数量</h3>
                        <p><cite style="color: #FF5722;">{$area_total??0}</cite></p>
                      </a>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="layui-col-md12">
          <!--
          <div class="layui-card">
            <div class="layui-tab layui-tab-brief layadmin-latestData">
              <ul class="layui-tab-title">
                <li class="layui-this">今日热搜</li>
                <li>今日热帖</li>
              </ul>
              <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                  <table id="LAY-index-topSearch"></table>
                </div>
                <div class="layui-tab-item">
                  <table id="LAY-index-topCard"></table>
                </div>
              </div>
            </div>
          </div>
          -->
        </div>
      </div>
    </div>
    {/if}

    <div class="layui-col-md4">
      <div class="layui-card">
        <div class="layui-card-header">版本信息</div>
        <div class="layui-card-body layui-text">
          <table class="layui-table">
            <colgroup>
              <col width="100">
              &nbsp;
              <col>
            </colgroup>
            <tbody>
            <tr>
              <td>当前版本</td>
              <td>1.0.0beta</td>
            </tr>
            <tr>
              <td>开发语言</td>
              <td>
                PHP {:phpversion()}
              </td>
            </tr>
            <tr>
              <td>数据库</td>
              <td>
                MYSQL {:mysqli_get_client_version()}
              </td>
            </tr>
            <tr>
              <td>服务器</td>
              <td>
                {$Think.SERVER.OS} {$Think.SERVER.SERVER_SOFTWARE}
              </td>
            </tr>
            </tbody>
          </table>
        </div>
      </div>
      <!--
            <div class="layui-card">
              <div class="layui-card-header">效果报告</div>
              <div class="layui-card-body layadmin-takerates">
                <div class="layui-progress" lay-showPercent="yes">
                  <h3>转化率（日同比 28% <span class="layui-edge layui-edge-top" lay-tips="增长" lay-offset="-15"></span>）
                  </h3>
                  <div class="layui-progress-bar" lay-percent="65%"></div>
                </div>
                <div class="layui-progress" lay-showPercent="yes">
                  <h3>签到率（日同比 11% <span class="layui-edge layui-edge-bottom" lay-tips="下降"
                                        lay-offset="-15"></span>）</h3>
                  <div class="layui-progress-bar" lay-percent="32%"></div>
                </div>
              </div>
            </div>
      -->
        <!--
        <DIV CLASS="LAYUI-CARD">
          <DIV CLASS="LAYUI-CARD-HEADER">产品动态</DIV>
          <DIV CLASS="LAYUI-CARD-BODY">
            <DIV CLASS="LAYUI-CAROUSEL LAYADMIN-CAROUSEL LAYADMIN-NEWS" DATA-AUTOPLAY="TRUE" DATA-ANIM="FADE" LAY-FILTER="NEWS">
              <DIV CAROUSEL-ITEM>
                <DIV><A HREF="HTTP://FLY.LAYUI.COM/DOCS/2/" TARGET="_BLANK" CLASS="LAYUI-BG-RED">LAYUIaDMIN 快速上手文档</A></DIV>
                <DIV><A HREF="JAVASCRIPT:;" ONCLICK="LAYER.MSG('等待添加')" TARGET="_BLANK" CLASS="LAYUI-BG-GREEN">LAYUIaDMIN 集成心得分享</A></DIV>
                <DIV><A HREF="JAVASCRIPT:;" ONCLICK="LAYER.MSG('等待添加')" TARGET="_BLANK" CLASS="LAYUI-BG-BLUE">首款 LAYUI 官方后台模板系统正式发布</A></DIV>
              </DIV>
            </DIV>
          </DIV>
        </DIV>
        <DIV CLASS="LAYUI-CARD">
          <DIV CLASS="LAYUI-CARD-HEADER">
            作者心语
            <I CLASS="LAYUI-ICON LAYUI-ICON-TIPS" LAY-TIPS="要支持的噢" LAY-OFFSET="5"></I>
          </DIV>
          <DIV CLASS="LAYUI-CARD-BODY LAYUI-TEXT LAYADMIN-TEXT">
            <P>一直以来，LAYUI 秉承无偿开源的初心，虔诚致力于服务各层次前后端 wEB 开发者，在商业横飞的当今时代，这一信念从未动摇。即便身单力薄，仍然重拾决心，埋头造轮，以尽可能地填补产品本身的缺口。</P>
            <P>在过去的一段的时间，我一直在寻求持久之道，已维持你眼前所见的一切。而 LAYUIaDMIN 是我们尝试解决的手段之一。我相信真正有爱于 LAYUI 生态的你，定然不会错过这一拥抱吧。</P>
            <P>子曰：君子不用防，小人防不住。请务必通过官网正规渠道，获得 <A HREF="HTTP://WWW.LAYUI.COM/ADMIN/" TARGET="_BLANK">LAYUIaDMIN</A>！</P>
            <P>—— 贤心（<A HREF="HTTP://WWW.LAYUI.COM/" TARGET="_BLANK">LAYUI.COM</A>）</P>
          </DIV>
        </DIV>
      -->
    </div>
  </div>
</div>

<script src="{$Think.const.admin_tpl}/layui/layui.js?t=1"></script>
<script>


  layui.config({
    base: '{$Think.const.admin_tpl}/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'console'], function () {



  });


</script>
</body>
</html>

